<h1>Listing trial_periods</h1>

<table>
  <tr>
    <th>Bundle variation</th>
    <th>Period</th>
    <th>Frequency</th>
    <th>Date start</th>
    <th>Date end</th>
    <th>Need credit card</th>
    <th>Status</th>
  </tr>

<% @trial_periods.each do |trial_period| %>
  <tr>
    <td><%=h trial_period.bundle_variation_id %></td>
    <td><%=h trial_period.period %></td>
    <td><%=h trial_period.frequency %></td>
    <td><%=h trial_period.date_start %></td>
    <td><%=h trial_period.date_end %></td>
    <td><%=h trial_period.need_credit_card %></td>
    <td><%=h trial_period.status %></td>
    <td><%= link_to 'Show', trial_period %></td>
    <td><%= link_to 'Edit', edit_trial_period_path(trial_period) %></td>
    <td><%= link_to 'Destroy', trial_period, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New trial_period', new_trial_period_path %>